package com.aat.dxfy.buddy.test01;

import net.bytebuddy.implementation.bind.annotation.AllArguments;
import net.bytebuddy.implementation.bind.annotation.Origin;
import net.bytebuddy.implementation.bind.annotation.RuntimeType;
import net.bytebuddy.jar.asm.commons.Method;

public class GreetingInterceptor {
	public Object greet(Object argument) {
		return "Hello from " + argument;
	}
	

	@RuntimeType
	public Object intercept(@AllArguments Object[] allArguments, @Origin Method method) {
		return method;
	}

}